﻿@page "/Breadcrumb"
@using BlazorDemo.Components.Layout
@rendermode InteractiveServer

<h3>计数器</h3>

<p role="status">当前值: @currentCount</p>

<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>

@code {
    private int currentCount = 0;

    private void IncrementCount()
    {
        currentCount++;
    }
}

<SectionContent SectionName="breadcrumb">
    <span>计数器</span>
</SectionContent>